package blogsys.demo.bean;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 权限信息
 */
@Alias("PermissionInfo")
public class PermissionInfo implements Serializable {
    private String permissionInfoId;
    private String permissionInfoName;
    private Date permissionInfoCreateDate;

    public PermissionInfo() {
    }

    public PermissionInfo(String permissionInfoId, String permissionInfoName, Date permissionInfoCreateDate) {
        this.permissionInfoId = permissionInfoId;
        this.permissionInfoName = permissionInfoName;
        this.permissionInfoCreateDate = permissionInfoCreateDate;
    }

    public String getPermissionInfoId() {
        return permissionInfoId;
    }

    public void setPermissionInfoId(String permissionInfoId) {
        this.permissionInfoId = permissionInfoId;
    }

    public String getPermissionInfoName() {
        return permissionInfoName;
    }

    public void setPermissionInfoName(String permissionInfoName) {
        this.permissionInfoName = permissionInfoName;
    }

    public Date getPermissionInfoCreateDate() {
        return permissionInfoCreateDate;
    }

    public void setPermissionInfoCreateDate(Date permissionInfoCreateDate) {
        this.permissionInfoCreateDate = permissionInfoCreateDate;
    }

    @Override
    public String toString() {
        return "PermissionInfo{" +
                "permissionInfoId='" + permissionInfoId + '\'' +
                ", permissionInfoName='" + permissionInfoName + '\'' +
                ", permissionInfoCreateDate=" + permissionInfoCreateDate +
                '}';
    }
}
